<f:view xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ice="http://www.icesoft.com/icefaces/component"
	xmlns:c="http://java.sun.com/jstl/core"
	xmlns:ui="http://java.sun.com/jsf/facelets">
	<ui:composition template="./layoutTemplate.xhtml">
		<ui:define name="title">
			<ice:panelGroup>
			Scheduler Control
			</ice:panelGroup>
		</ui:define>
		<ui:define name="content">
		<f:subview id="sch_cnt">
			<ice:panelGrid columns="4">
				<ice:commandButton type="submit" value="Start Scheduler" styleClass="submitButton"
							action="#{schedulerDC.startSchedulerActionPerformed}" 
							rendered="${schedulerDC.schedulerShutdown or schedulerDC.schedulerPaused}"
							partialSubmit="false"/>
				<ice:commandButton type="submit" value="Pause Scheduler" styleClass="submitButton"
							action="#{schedulerDC.pauseSchedulerActionPerformed}" 
							rendered="${!schedulerDC.schedulerShutdown and !schedulerDC.schedulerPaused}"
							partialSubmit="false"/>
				<ice:commandButton type="submit" value="Stop Scheduler" styleClass="submitButton"
							action="#{schedulerDC.stopSchedulerActionPerformed}" 
							rendered="${!schedulerDC.schedulerShutdown}"
							partialSubmit="false"/>
			</ice:panelGrid>
			<table>
			<tr>
			<td align="left">
			<ice:panelCollapsible expanded="true">
				<f:facet name="header">
					<ice:outputText styleClass="paragraph_title"
						value="Summary" escape="false"/>
				</f:facet>
				<ice:panelGroup>
					<table><tr><td>
					<pre><i><pre>${schedulerDC.scheduler.metaData.summary}</pre></i></pre>
					</td></tr></table>
				</ice:panelGroup>
			</ice:panelCollapsible>
			</td>
			</tr>
			<tr>
			<td align="left">
				<ice:commandButton type="submit" value="Refresh Summary" styleClass="submitButton"
							action="#{schedulerDC.refreshSummaryActionPerformed}" 
							partialSubmit="false"/>
			</td>
			</tr>
			</table>
		</f:subview>
		</ui:define>
	</ui:composition>
</f:view>
